package com.jhy.coupon;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

//使用mybatis-plus做为持久层框架，使用@MapperScan扫描所有标了@Mapper注解的dao类
//并通过配置文件配置mybatis的xml文件的位置
@MapperScan("com.jhy.coupon.dao")
@EnableDiscoveryClient //打开服务注册与发现
@SpringBootApplication
public class CoupomApplication {

    public static void main(String[] args) {
        SpringApplication.run(CoupomApplication.class, args);
    }

}
